/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-09 18:12:52
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-09 18:30:43
 */
const express = require('express')
const app = express()
app.get('/list', (req, res) => {
  //  req.query.callback===fn
  let fn = req.query.callback
  console.log(req.query.callback, '收到请求了')
  res.send(`${fn}({code:200,list:[]})`)
})
app.listen(2000, () => {
  console.log('http://127.0.0.1:2000')
})
